package com.yanqu.road.server.cmd.curio;

import com.yanqu.road.message.YanQuMessage;
import com.yanqu.road.pb.cangbao.CurioProto;
import com.yanqu.road.server.cmd.CrossCommand;
import com.yanqu.road.server.command.Cmd;
import com.yanqu.road.server.manager.curio.CrossCurioMgr;
import com.yanqu.road.server.protocol.CrossProtocol;

@Cmd(code = CrossProtocol.C_CURIO_HISTORY_MAX_SCORE_GET_USER_INFO, desc = "藏品最先达到档位最高分数玩家信息")
public class CrossCurioItemMaxScoreHistoryGetCmd extends CrossCommand {

    @Override
    public boolean parseData(YanQuMessage packet) throws Exception {
        return true;
    }

    @Override
    public void execute(YanQuMessage packet) throws Exception {
        CurioProto.CrossCurioItemMaxScoreGetReqMsg reqMsg = CurioProto.CrossCurioItemMaxScoreGetReqMsg.parseFrom(packet.getBytes());
        CrossCurioMgr.getGroupHistoryMaxScore(serverId, packet.getPlayerId(), reqMsg.getConditionIdList());
    }

    @Override
    public void sendData() {

    }
}
